#ifndef WSTATEGAMEPLAY
#define WSTATEGAMEPLAY
#include "State.h"
#include "Artman.h"
#include "Sector.h"
#include "Player.h"
#include "Scrotum.h"
#include "AnimationSolver.h"

class GameplayState : public State
{
	Artman *p_artman;
	AnimationSolver *m_animsolver;
	Sector *m_sector;

	Player *m_player;
	Scrotum *m_scrotum;
	sf::View m_view;

	GameplayState(Artman *artman);

	bool Init();

public:

	~GameplayState();

	static State *Create(Artman *artman);

	void Foldout();

	void Foldup();

	void Update(float dt);

	void UpdateView(sf::RenderWindow &window);

	void Draw(sf::RenderWindow &window);

};

#endif